
import React, { Component } from 'react';
import { withRouter } from 'react-router-dom'
import {
    Cells,
    CellsTitle,
    Cell,
    CellHeader,
    CellBody,
    Dialog,
    CellFooter,
} from 'react-weui';
import './VideoList.css'
import $ from 'jquery';

class PDFList extends Component {
    constructor(props) {
        super(props);
        this.state = {
            password: '',
            displayHint: false,
            showDialog: true,
            dialogBtn: {
                buttons: [
                    {
                        label: '确定',
                        onClick: this.playVideo.bind(this)
                    },
                    {
                        label: '取消',
                        onClick: this.hideDialog.bind(this)
                    }
                ]
            },
            showlink_1:false,
            showlink_2:false,
            showlink_3:false,
            showlink_4:false,
            showlink_5:false,
            showlink_6:false,
            showlink_7:false,
            showlink_21:false,
            showlink_22:false,
            showlink_23:false,
            showlink_24:false,
            showlink_25:false,
            showlink_26:false,
            showlink_27:false,
            showlink_28:false,
            linkDetail: [
                {
                    name: "Cable & Tube",
                    children: [
                        {
                        name:"(中文）控制系统",
                        targetLink: "/viewpdf/11"
                        },{
                            name:"（中文）直径仪",
                            targetLink: "/viewpdf/12"
                            },
                
                    ]
                },
                {
                    name: "Film Extrusion & Coverting",
                    children: [
                        {
                            name:"(中文）710e和710s系列红外反向散射传感器",
                            children: [
                                {
                                    name: "（中文）FilmPro™红外传感器",
                                    targetLink: "/viewpdf/21"
                                },
                                {
                                    name: "（中文）IG710 S and SR710 CHA",
                                    targetLink: "/viewpdf/22" 
                                }
                            ]
                        }
                    ]
                },
            ],
            cable: [
                    {
                    name:"  (中文）控制系统",
                    targetLink: "/viewpdf/11",
                    downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/中文/控制系统/InControl.pdf"
                    },
                    {
                        name:"（中文）直径仪",
                        targetLink: "/viewpdf/12",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/中文/直径仪/NDC_AccuScan_Family_Chinese.pdf"
                    }, 
                    {
                        name:"（中文）CAPSCAN 2000   9.6.",
                        targetLink: "/viewpdf/12",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/中文/CAPSCAN_2000___9.6..pdf"
                    }, 
                    {
                         name:"（中文）CENTERSCAN 2010  9.6.",
                         targetLink: "/viewpdf/12",
                         downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/中文/CENTERSCAN_2010__9.6..pdf"
                    }, 
                    {
                         name:"（中文）DCM_ProductLine_datasheet_ch",
                         targetLink: "/viewpdf/12",
                         downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/中文/DCM_ProductLine_datasheet_ch.pdf"
                    }, 
                    {
                    name:"（中文）NDC_BenchMike_Family_PT_Chinese",
                    targetLink: "/viewpdf/12",
                    downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/中文/NDC_BenchMike_Family_PT_Chinese.pdf"
                    }, 
                    {
                        name:"（中文）NDC_LN_Series_brochure_Chinese",
                        targetLink: "/viewpdf/12",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/中文/NDC_LN_Series_brochure_Chinese.pdf"
                        }, 
                        {
                            name:"（中文）sparktester brouch",
                            targetLink: "/viewpdf/12",
                            downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/中文/sparktester_brouch.pdf"
                            }, 
                            {
                                name:"（中文）凹凸检测家族",
                                targetLink: "/viewpdf/12",
                                downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/中文/凹凸检测家族.pdf"
                                }, 
                                {
                                    name:"（中文）管材  9.14",
                                    targetLink: "/viewpdf/12",
                                    downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/中文/管材__9.14.pdf"
                                    }, 
                                    {
                                        name:"（中文）软管  9.14",
                                        targetLink: "/viewpdf/12",
                                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/中文/软管__9.14.pdf"
                                        }, 
                                        {
                                            name:"（中文）用于电线和电缆应用的精密测量   9.6",
                                            downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/中文/用于电线和电缆应用的精密测量___9.6..pdf"
                                            }, 
                                            {
                                                name:"（英文）控制系统",
                                                downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/控制系统/CandT-BROC-CTRL-InControl_v1.5-EN-2015DEC08.pdf"
                                                },                                            
                                                {
                                                    name:"（英文）直径仪",
                                                    downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/直径仪/NDC_AccuScan6012.pdf"
                                                    },
                    {
                        name:"（英文）C&T-BROC-CTRL-DataPro 700-EN-2017OCT30",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/CandT-BROC-CTRL-DataPro_700-EN-2017OCT30.pdf"
                    },
                    {
                        name:"（英文）C&T-BROC-CTRL-InControl_3.0-EN-2017JUNE30",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/CandT-BROC-CTRL-InControl_3.0-EN-2017JUNE30.pdf"
                    },
                    {
                        name:"（英文）C&T-BROC-SCAN-AccuScan 1000-EN-2016MAY09",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/CandT-BROC-SCAN-AccuScan_1000-EN-2016MAY09.pdf"
                    },
                    {
                        name:"（英文）C&T-BROC-SCAN-AccuScan 6000-EN-2017OCT30",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/CandT-BROC-SCAN-AccuScan_6000-EN-2017OCT30.pdf"
                    },
                    {
                        name:"（英文）C&T-BROC-SCAN-AccuScan-EN-2016SEPT20",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/CandT-BROC-SCAN-AccuScan-EN-2016SEPT20.pdf"
                    },
                    {
                        name:"（英文）C&T-BROC-SCAN-LaserSpeed_TubePipe-EN-2017OCT30",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/CandT-BROC-SCAN-LaserSpeed_TubePipe-EN-2017OCT30.pdf"
                    },
                    {
                        name:"（英文）C&T-BROC-SOFT-AccuNet-EN-2017OCT30",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/CandT-BROC-SOFT-AccuNet-EN-2017OCT30.pdf"
                    },
                    {
                        name:"（英文）C&T-BR-SENS-DataPro 500-EN-2017OCT",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/CandT-BR-SENS-DataPro_500-EN-2017OCT30.pdf"
                    },
                    {
                        name:"（英文）C-BROC-CTRL-DataPro WC-EN-2017OCT30",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/C-BROC-CTRL-DataPro_WC-EN-2017OCT30.pdf"
                    },
                    {
                        name:"（英文）C-BROC-SCAN-CapScan-EN-2016JUNE09",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/C-BROC-SCAN-CapScan-EN-2016JUNE09_.pdf"
                    },
                    {
                        name:"（英文）C-BROC-SCAN-CenterScan-EN-2016JUNE09",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/C-BROC-SCAN-CenterScan-EN-2016JUNE09.pdf"
                    },
                    {
                        name:"（英文）C-BROC-SOFT-SRL Pro-EN-2017OCT30",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/C-BROC-SOFT-SRL_Pro-EN-2017OCT30.pdf"
                    },
                    {
                        name:"（英文）C-BROC-SYST-DCM_ProductLine-EN-2017OCT31",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/C-BROC-SYST-DCM_ProductLine-EN-2017OCT31.pdf"
                    },
                    {
                        name:"（英文）ls8000-9000-3_brochure",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/ls8000-9000-3_brochure.pdf"
                    },
                    {
                        name:"（英文）NDC_BenchMike_Family_PT",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/NDC_BenchMike_Family_PT.pdf"
                    },
                    {
                        name:"（英文）NDC_DataPro_Family_PT",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/NDC_DataPro_Family_PT.pdf"
                    },
                    {
                        name:"（英文）NDC_DCM_Model_3S-XLD",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/NDC_DCM_Model_3S-XLD.pdf"
                    },
                    {
                        name:"（英文）NDC_LaserSpeed_OLG",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/NDC_LaserSpeed_OLG.pdf"
                    },
                    {
                        name:"（英文）NDC_LN_Series",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/NDC_LN_Series.pdf"
                    },
                    {
                        name:"（英文）NDC_P&T_Product Flyer_10-15",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/NDC_PandT_Product_Flyer_10-15.pdf"
                    },
                    {
                        name:"（英文）NDC_UltraScan_Series_Pipe",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/NDC_UltraScan_Series_Pipe.pdf"
                    },
                    {
                        name:"（英文）NDC_UltraScan_Series_Tube",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/NDC_UltraScan_Series_Tube.pdf"
                    },
                    {
                        name:"（英文）preheaters",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/preheaters.pdf"
                    },
                    {
                        name:"（英文）SparkTesters",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/SparkTesters.pdf"
                    },
                    {
                        name:"（英文）T-BROC-CTRL-DataPro PT-EN-2017OCT30",
                        downloadLink:"http://ndc.way-may.com:9090/pdf/Cable/英文/T-BROC-CTRL-DataPro_PT-EN-2017OCT30.pdf"
                    },
                           
            ],
        metals: [
            {
                name:"（中文）Accuray FVXR Coating Wt System",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Metals/中文/Accuray_FVXR_Coating_Wt_System.pdf"
            },
            {
                name:"（中文）AccuRay TVXR Thickness Gauge -TDi-700",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Metals/中文/AccuRay_TVXR_Thickness_Gauge_-TDi-700.pdf"
            },
            {
                name:"（中文）IRM Aluminium Brochure CHinese Translation",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Metals/中文/IRM_Aluminium_Brochure_CHinese_Translation.pdf"
            },
            {
                name:"（中文）Metals Industries Brochure-冶金工业",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Metals/中文/Metals_Industries_Brochure-冶金工业.pdf"
            },
            {
                name:"（中文）Rometer F300 & FQC-光学平直度测量仪系统",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Metals/中文/Rometer_F300_and_FQC-光学平直度测量仪系统.pdf"
            },
            {
                name:"（中文）W200测宽系统   8.2.",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Metals/中文/W200测宽系统___8.2..pdf"
            },
            {
                name:"（中文）激光测试仪合并版    最终确认版1",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Metals/中文/激光测试仪合并版____最终确认版1.pdf"
            },
            {
                name:"（英文）AccuRay TVXR Thickness Gauge",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Metals/英文/AccuRay_TVXR_Thickness_Gauge.pdf"
            },
            {
                name:"（英文）Advanced Aluminium TDi NEW LOGO PA4",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Metals/英文/Advanced_Aluminium_TDi_NEW_LOGO_PA4.pdf"
            },
            {
                name:"（英文）LaserSpeed_Metals",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Metals/英文/LaserSpeed_Metals.pdf"
            },
            {
                name:"（英文）M-BROC-SYST-Rometer-EN-2017April06",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Metals/英文/M-BROC-SYST-Rometer-EN-2017April06.pdf"
            },
            {
                name:"（英文）Metals Industries ALL NEW LOGO PA4 2016",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Metals/英文/Metals_Industries_ALL_NEW_LOGO_PA4_2016.pdf"
            },
            {
                name:"（英文）W200 Width Measurement 2016 PA4",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Metals/英文/W200_Width_Measurement_2016_PA4.pdf"
            },
        ],
        food_1: [
            {
                name:"（中文）CM710e",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/中文/710e和710s系列红外反向散射传感器/CM710e.pdf"
            },
            {
                name:"（中文）MM710e",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/中文/710e和710s系列红外反向散射传感器/MM710e.pdf"
            },
            {
                name:"（中文）TM710e",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/中文/710e和710s系列红外反向散射传感器/TM710e.pdf"
            },
        ],
        food_2: [
            {
                name:"（中文）MM710",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/中文/710系列红外反向散射传感器/MM710.pdf"
            },
            {
                name:"（中文）PrediktIR 8.2",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/中文/710系列红外反向散射传感器/PrediktIR_8.2.pdf"
            },
            {
                name:"（中文）TM710eV",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/中文/710系列红外反向散射传感器/TM710eV.pdf"
            },
        ],
        food_3: [
            {
                name:"（英文）NDC PrediktIR_Brochure 01-16 JAN 01",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/英文/710系列红外反向散射传感器/NDC-PrediktIR_Brochure-01-16-JAN-01.pdf"
            },
            {
                name:"（英文）TM10eV_TotalVolatile",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/英文/710系列红外反向散射传感器/TM10eV_TotalVolatile.pdf"
            },
        ],
        food_o: [
            {
                name: "（英文）710e和710s系列红外反向散射传感器",
                downloadLink:""
            },
            {
                name:"（中文）InfraLab710",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/中文/InfraLab710.pdf"
            },
            {
                name:"（中文）InfraLab710e",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/中文/InfraLab710e.pdf"
            },
            {
                name:"（中文）NDC_Snacks_AppNote_休闲食品",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/中文/NDC_Snacks_AppNote_休闲食品.pdf"
            },
            {
                name:"（中文）NDC_Wet_Milling_玉米2",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/中文/NDC_Wet_Milling_玉米2.pdf"
            },
            {
                name:"（中文）咖啡生产",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/中文/咖啡生产.pdf"
            },
            {
                name:"（中文）乳粉-1",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/中文/乳粉-1.pdf"
            },
            {
                name:"（中文）食品行业应用",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/中文/食品行业应用.pdf"
            },
            {
                name:"（中文）玉米1-销售自己排的",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/中文/玉米1-销售自己排的.pdf"
            },
            {
                name:"（英文）DairyPowders_3-12-15",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/英文/DairyPowders_3-12-15.pdf"
            },
            {
                name:"（英文）F-BR-SENS-DOB Application-EN-2016July07-Low Res",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/英文/F-BR-SENS-DOB_Application-EN-2016July07-Low_Res.pdf"
            },
            {
                name:"（英文）Food Industry Applications Brochure_21JUL2017",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/英文/Food_Industry_Applications_Brochure_21JUL2017.pdf"
            },
            {
                name:"（英文）Meat InfraLab Apps Brochure_4-1-15",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/英文/Meat_InfraLab_Apps_Brochure_4-1-15.pdf"
            },
            {
                name:"（英文）NDC Chemicals Pharma Applications 4-1-15-Low Res",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/英文/NDC_Chemicals_Pharma_Applications_4-1-15-Low_Res.pdf"
            },
            {
                name:"（英文）NDC Minerals and Bulk Brochure_01_08_2016",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/英文/NDC_Minerals_and_Bulk_Brochure_01_08_2016.pdf"
            },
            {
                name:"（英文）NDC_Snacks",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/英文/NDC_Snacks.pdf"
            },
            {
                name:"（英文）NDC_Wet_Milling",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/英文/NDC_Wet_Milling.pdf"
            },
            {
                name:"（英文）Tobacco Brochure 02-15441 - 02 - 2015-01 - 12 page",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Food/英文/Tobacco_Brochure_02-15441_-_02_-_2015-01_-_12_page.pdf"
            },
        ],
        film_1:[
            {
                name:"（中文）FilmPro™红外传感器",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/710e和710s系列红外反向散射传感器/FilmPro红外传感器.pdf"
            },
            {
                name:"（中文）IG710 S and SR710 CHA",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/710e和710s系列红外反向散射传感器/IG710_S_and_SR710_CHA.docx"
            },
            {
                name:" (中文）NW710S Nonwoven Sensor_GH Chinese",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/710e和710s系列红外反向散射传感器/NW710S_Nonwoven_Sensor_GH_Chinese.docx"
            },
            
        ],
        film_2:[
            {
                name:"（中文）FG710S传感器-上海",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/710系列红外穿透型传感器/FG710S传感器-上海.pdf"
            },
            {
                name:"（中文）TFG710",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/710系列红外穿透型传感器/TFG710.pdf"
            },
        ],
        film_3:[
{
    name:"（中文）IG710",
    downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/710系列红外反向散射传感器/IG710.pdf"
}
        ],
        film_4:[
            {
                name:"（中文）LiB Coating Chinese_updated in Oct",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/X射线传感器/LiB_Coating_Chinese_updated_in_Oct.pdf"
            },
            {
                name:"（中文）Lithium Ion Web Gauging Apps Brochure 2017 CHA_Oct",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/X射线传感器/Lithium_Ion_Web_Gauging_Apps_Brochure_2017_CHA_Oct.pdf"
            },
            {
                name:"（中文）Low Energy XRT Chinese_updated in Oct",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/X射线传感器/Low_Energy_XRT_Chinese_updated_in_Oct.pdf"
            },
            {
                name:"（中文）Web Gauging at a Glance_ CHA_Oct",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/X射线传感器/Web_Gauging_at_a_Glance__CHA_Oct.pdf"
            },
            {
                name:"（中文）X射线反向散射测量仪318  9.4",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/X射线传感器/X射线反向散射测量仪318__9.4.pdf"
            },
            {
                name:"（中文）X射线透射传感器312A   9.4.",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/X射线传感器/X射线透射传感器312A___9.4..pdf"
            },
        ],
        film_5:[
            {
                name: "（英文）FilmPro P-DS-Syst-FilmPro- EN-20160115",
                downloadLink: "http://ndc.way-may.com:9090/pdf/Film/英文/710e和710s系列红外反向散射传感器/FilmPro_P-DS-Syst-FilmPro-_EN-20160115.pdf"
            },
            {
                name: "（英文）IG710 S and SR710 S",
                downloadLink: "http://ndc.way-may.com:9090/pdf/Film/英文/710e和710s系列红外反向散射传感器/IG710_S_and_SR710_S.docx"
            },
            {
                name: "（英文）IS-114-15545-02-2015-07 NW710S Nonwoven Sensor",
                downloadLink: "http://ndc.way-may.com:9090/pdf/Film/英文/710e和710s系列红外反向散射传感器/IS-114-15545-02-2015-07_NW710S_Nonwoven_Sensor.pdf"
            },
        ],
        film_6: [
            {
                name:"（英文）FG710S, TFG710S & TFG710ER IS-116-15506-02-2014-09",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/710系列红外穿透型传感器/FG710S_TFG710S_and_TFG710ER_IS-116-15506-02-2014-09.pdf"
            }
        ],
        film_7: [
{
             name:"FG710S_TFG710S_and_TFG710ER_IS-116-15506-02-2014-09.pdf",
             downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/710系列红外反向散射传感器/NDC_ConvertIR__BRochure_01-16_JAN_01.pdf"
}
        ],
        film_8: [
            {
                name: "（英文）IS-111-15543-02-2015-07 XRB318 Sensor",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/X射线传感器/IS-111-15543-02-2015-07_XRB318_Sensor.pdf"
            },
            {
                name: "（英文）LiB Coating 25OCT2017",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/X射线传感器/LiB_Coating_25OCT2017.pdf"
            },
            {
                name: "（英文）Lithium Ion Web Gauging Apps Brochure 25OCT2017",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/X射线传感器/Lithium_Ion_Web_Gauging_Apps_Brochure_25OCT2017.pdf"
            },
            {
                name: "（英文）Low Energy XRT 25Oct2017",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/X射线传感器/Low_Energy_XRT_25Oct2017.pdf"
            },
            {
                name: "（英文）Web Gauging at a Glance 25OCT2017",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/X射线传感器/Web_Gauging_at_a_Glance_25OCT2017.pdf"
            },
        ],
        film_o: [
            {
                name:"（中文）2014-10-16-压延工业",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/2014-10-16-压延工业.pdf"
            },
            {
                name:"（中文）2015-4-13-8000TDi系统",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/2015-4-13-8000TDi系统.pdf"
            },
            {
                name:"（中文）Accutrak O",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/Accutrak_O.pdf"
            },
            {
                name:"（中文）MX8000",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文//MX8000.pdf"
            },
            {
                name:"（中文）NDC100",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/NDC100.pdf"
            },
            {
                name:"（中文）NW710S Nonwoven Sensor_Chinese",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/NW710S_Nonwoven_Sensor_Chinese.pdf"
            },
            {
                name:"（中文）OptiMike OM190 Data sheet",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/OptiMike_OM190_Data_sheet.pdf"
            },
            {
                name:"（中文）Pronet",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/Pronet.pdf"
            },
            {
                name:"（中文）X射线光子锂电池应用最新",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/X射线光子锂电池应用最新.pdf"
            },
            {
                name:"（中文）吹膜系统-上海",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/吹膜系统-上海.pdf"
            },
            {
                name:"（中文）挤出行业",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/挤出行业.pdf"
            },
            {
                name:"（中文）锂电池行业生产工艺流程在线解决方案 2017 CHA_GH",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/锂电池行业生产工艺流程在线解决方案_2017_CHA_GH.docx"
            },
            {
                name:"（中文）涂布复合行业",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/涂布复合行业.pdf"
            },
            {
                name:"（中文）无纺布行业",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/无纺布行业.pdf"
            },
            {
                name:"（中文）在线测厚解决方案_9-8-17 CHA_GH",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/中文/在线测厚解决方案_9-8-17_CHA_GH.docx"
            },
            {
                name:"（英文）8000-SLIM Prod Info Brochure PB-116-15548-02-2015-09",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/8000-SLIM_Prod_Info_Brochure_PB-116-15548-02-2015-09.pdf"
            },
            {
                name:"（英文）8000TDi System ALL NEW LOGO PA4 2014",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/8000TDi_System_ALL_NEW_LOGO_PA4_2014.pdf"
            },
            {
                name:"（英文）Beta Gauges IS-111-15535-02-2015-06-301,302",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/Beta_Gauges_IS-111-15535-02-2015-06-301_302.pdf"
            },
            {
                name:"（英文）Blown Film Data Sheet IS-111-15541-02-2015-06",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/Blown_Film_Data_Sheet_IS-111-15541-02-2015-06.pdf"
            },
            {
                name:"（英文）Converting Industries ALL NEW LOGO PA4 AN-112-15514-02-2014-10",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/Converting_Industries_ALL_NEW_LOGO_PA4_AN-112-15514-02-2014-10.pdf"
            },
            {
                name:"（英文）Extrusion Industries Brochure ALL NEW LOGO PA4 2014",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/Extrusion_Industries_Brochure_ALL_NEW_LOGO_PA4_2014.pdf"
            },
            {
                name:"（英文）FG710S Application Note",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/FG710S_Application_Note.pdf"
            },
            {
                name:"（英文）Gamma Backscatter IS-111-15536-02-2015-06",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/Gamma_Backscatter_IS-111-15536-02-2015-06.pdf"
            },
            {
                name:"（英文）GBS100",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/GBS100.pdf"
            },
            {
                name:"（英文）Lithium Ion Web Gauging Apps Brochure 2017",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/Lithium_Ion_Web_Gauging_Apps_Brochure_2017.docx"
            },
            {
                name:"（英文）MX8000 Brochure 112-15447 - 18 - 2017-07 - English - HR - Internal",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/MX8000_Brochure_112-15447_-_18_-_2017-07_-_English_-_HR_-_Internal.pdf"
            },
            {
                name:"（英文）NDC Calendering Industries ALL NEW LOGO PA4 2014",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/NDC_Calendering_Industries_ALL_NEW_LOGO_PA4_2014.pdf"
            },
            {
                name:"（英文）Nonwovens Industries ALL NEW LOGO PA4 2014",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/Nonwovens_Industries_ALL_NEW_LOGO_PA4_2014.pdf"
            },
            {
                name:"（英文）OptiMike OM190 IS-111-15494-2014-07",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/OptiMike_OM190_IS-111-15494-2014-07.pdf"
            },
            {
                name:"（英文）Paper, Film and Foil Converting Product Brochure - English",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/Paper__Film_and_Foil_Converting_Product_Brochure_-_English.pdf"
            },
            {
                name:"（英文）P-DS-MiniTrak-S-EN-20160511",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/P-DS-MiniTrak-S-EN-20160511.pdf"
            },
            {
                name:"（英文）P-DS-NDC8000-F-EN-20160511",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/P-DS-NDC8000-F-EN-20160511.pdf"
            },
            {
                name:"（英文）Pro.Net System NEW LOGO 2016",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/Pro.Net_System_NEW_LOGO_2016.pdf"
            },
            {
                name:"（英文）SlimTrak Scanner Data Sheet IS-112-15547-02-2015-08",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/SlimTrak_Scanner_Data_Sheet_IS-112-15547-02-2015-08.pdf"
            },
            {
                name:"（英文）Web Gauging at a Glance  ALL NEW LOGO PA4 2014",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/Web_Gauging_at_a_Glance__ALL_NEW_LOGO_PA4_2014.pdf"
            },
            {
                name:"（英文）英文170 laser",
                downloadLink:"http://ndc.way-may.com:9090/pdf/Film/英文/英文170_laser.pdf"
            },
        ]    

        }
    };


    showLink = (index) => {
        //alert(index);
        //window.location.href = 'http://ndc.way-may.com:8080/repairs/file/download';

        if (index === "1"){
            this.setState(
                {
                   showlink_1: !this.state.showlink_1
               }
            );
        }else if (index === "2"){
            this.setState(
                {
                   showlink_2: !this.state.showlink_2
               }
            ); 
        
        }else if (index === "3"){
            this.setState(
                {
                   showlink_3: !this.state.showlink_3
               }
            ); 
        
        }else if (index === "4"){
            this.setState(
                {
                   showlink_4: !this.state.showlink_4
               }
            ); 
        }else if (index === "5"){
            this.setState(
                {
                   showlink_5: !this.state.showlink_5
               }
            ); 
        }else if (index === "6"){
            this.setState(
                {
                   showlink_6: !this.state.showlink_6
               }
            ); 
        }else if (index === "7"){
            this.setState(
                {
                   showlink_7: !this.state.showlink_7
               }
            ); 
        }else if (index === "21"){
            this.setState(
                {
                   showlink_21: !this.state.showlink_21
               }
            ); 
        }else if (index === "22"){
            this.setState(
                {
                   showlink_22: !this.state.showlink_22
               }
            ); 
        }else if (index === "23"){
            this.setState(
                {
                   showlink_23: !this.state.showlink_23
               }
            ); 
        }else if (index === "24"){
            this.setState(
                {
                   showlink_24: !this.state.showlink_24
               }
            ); 
        }else if (index === "25"){
            this.setState(
                {
                   showlink_25: !this.state.showlink_25
               }
            ); 
        }else if (index === "26"){
            this.setState(
                {
                   showlink_26: !this.state.showlink_26
               }
            ); 
        }else if (index === "27"){
            this.setState(
                {
                   showlink_27: !this.state.showlink_27
               }
            ); 
        }else if (index === "28"){
            this.setState(
                {
                   showlink_28: !this.state.showlink_28
               }
            ); 
       
        }
       
    };

    getPdf = (targetLink) => {
        if (targetLink === ''){
            return;
        }

        let links = targetLink.split('http://ndc.way-may.com:9090/pdf');
        if (links.length < 1){
            return;
        }
        let downloadUrl = links[1];
        let downloadLik = 'http://ndc.way-may.com:8080/repairs/file/download?path=' + downloadUrl;

        window.location.href = downloadLik;

    };
    playVideo = () => {
        if(this.state.password === '654321'){
            this.setState({
                showDialog: false,
                displayHint: false
            });
            //let targetLink = '/viewpdf/' + this.state.currentURL;
            //this.props.history.push(targetLink);
        }else{
            console.log("password is not right");
            this.setState({
                displayHint: true
            });
        }

    };
    //Now work for pdflist
    hideDialog() {
        this.setState({
            showDialog: true,
        });

    };
    inputPassword = () => {
        this.setState({
            showDialog: true,
            displayHint: false,
            password: '',
            currentURL: ''
        });

    };
   changePassword = (e) => {
        let currentValue = e.target.value;
        //console.log(currentValue);
        this.setState({
            password: currentValue,
            displayHint: false
        }); 
    }
    render() {
        return (
            <div>
                <Cell className={'titlebar'}>
                    <CellBody style={{ textAlign: 'center' }} className={'titlebarcontent'}>
                        产品宣传册
                    </CellBody>
                </Cell>
                <Cells>
                    <Cell onClick={this.showLink.bind(this,"1")}>
                        <CellBody className={'cellTitle'}>
                        Cable & Tube
                        </CellBody>
                        <CellFooter>
                            {
                                this.state.showlink_1? <img src='/images/jiantou_xia@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} /> : <img src='/images/jiantou@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} />
                            }
                        </CellFooter>
                    </Cell>
                    { !this.state.showlink_1? "" :
                        this.state.cable.map(details =>
                      <Cell >
                          <CellBody className={'cellLink'}  onClick={this.getPdf.bind(this,details['downloadLink'])}>

                          {/* <a href={details['downloadLink']} download>{details["name"]} </a>*/}
                           {details["name"]}

                          </CellBody>
                      </Cell>
                    )}
                </Cells>
                <Cells>
                    <Cell onClick={this.showLink.bind(this,"2")}>
                        <CellBody className={'cellTitle'}>
                        Film Extrusion & Coverting
                        </CellBody>
                        <CellFooter>
                            {
                                this.state.showlink_2? <img src='/images/jiantou_xia@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} /> : <img src='/images/jiantou@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} />
                            }
                        </CellFooter>
                    </Cell>
                    { !this.state.showlink_2? "" :
                        <Cells>
                        <Cell onClick={this.showLink.bind(this,"21")}>
                          <CellBody className={'cellTitle'}  >
                          （中文）710e和710s系列红外反向散射传感器
                          </CellBody>
                          <CellFooter>
                            {
                                this.state.showlink_21? <img src='/images/jiantou_xia@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} /> : <img src='/images/jiantou@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} />
                            }
                        </CellFooter> 
                      </Cell>
                      {
                          !this.state.showlink_21? "" :
                          this.state.film_1.map(details =>
                            <Cell>
                                <CellBody className={'cellLink'}  onClick={this.getPdf.bind(this,details['downloadLink'])}>
                                    {details["name"]}
                                </CellBody>
                          </Cell> 
                          )
                      }
                      {/*  Film second */} 
                      <Cell onClick={this.showLink.bind(this,"22")}>
                          <CellBody className={'cellTitle'}  >
                          （中文）710系列红外穿透型传感器
                          </CellBody>
                          <CellFooter>
                            {
                                this.state.showlink_22? <img src='/images/jiantou_xia@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} /> : <img src='/images/jiantou@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} />
                            }
                        </CellFooter> 
                      </Cell>
                      {
                          !this.state.showlink_22? "" :
                          this.state.film_2.map(details =>
                            <Cell>
                                <CellBody className={'cellLink'}  onClick={this.getPdf.bind(this,details['downloadLink'])}>
                                  {details["name"]}
                              </CellBody>
                          </Cell> 
                          )
                      } 
                      {/*  film three*/}
                      <Cell onClick={this.showLink.bind(this,"23")}>
                          <CellBody className={'cellTitle'}  >
                          （中文）710系列红外反向散射传感器
                          </CellBody>
                          <CellFooter>
                            {
                                this.state.showlink_23? <img src='/images/jiantou_xia@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} /> : <img src='/images/jiantou@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} />
                            }
                        </CellFooter> 
                      </Cell>
                      {
                          !this.state.showlink_23? "" :
                          this.state.film_3.map(ct =>
                            <Cell>
                          <CellBody className={'cellLink'}>
                              this.context.router.transitionTo({ct["downloadLink"]}) {ct["name"]}
                          </CellBody> 
                          </Cell> 
                          )
                      } 
                      {/*  film 4*/}
                      <Cell onClick={this.showLink.bind(this,"24")}>
                          <CellBody className={'cellTitle'}  >
                          （中文）X射线传感器
                          </CellBody>
                          <CellFooter>
                            {
                                this.state.showlink_24? <img src='/images/jiantou_xia@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} /> : <img src='/images/jiantou@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} />
                            }
                        </CellFooter> 
                      </Cell>
                      {
                          !this.state.showlink_24? "" :
                          this.state.film_4.map(ct =>
                            <Cell>
                                <CellBody className={'cellLink'}  onClick={this.getPdf.bind(this,ct['downloadLink'])}>
                                    {ct["name"]}
                                </CellBody>
                          </Cell> 
                          )
                      } 
                      {/*  film 5*/}
                      <Cell onClick={this.showLink.bind(this,"25")}>
                          <CellBody className={'cellTitle'}  >
                          （英文）710e和710s系列红外反向散射传感器
                          </CellBody>
                          <CellFooter>
                            {
                                this.state.showlink_25? <img src='/images/jiantou_xia@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} /> : <img src='/images/jiantou@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} />
                            }
                        </CellFooter> 
                      </Cell>
                      {
                          !this.state.showlink_25? "" :
                          this.state.film_5.map(ct =>
                            <Cell>
                                <CellBody className={'cellLink'}  onClick={this.getPdf.bind(this,ct['downloadLink'])}>
                                    {ct["name"]}
                                </CellBody>
                          </Cell> 
                          )
                      } 
                      {/*  film 6*/}
                      <Cell onClick={this.showLink.bind(this,"26")}>
                          <CellBody className={'cellTitle'}  >
                          （英文）710系列红外穿透型传感器
                          </CellBody>
                          <CellFooter>
                            {
                                this.state.showlink_26? <img src='/images/jiantou_xia@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} /> : <img src='/images/jiantou@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} />
                            }
                        </CellFooter> 
                      </Cell>
                      {
                          !this.state.showlink_26? "" :
                          this.state.film_6.map(ct =>
                            <Cell>
                                <CellBody className={'cellLink'}  onClick={this.getPdf.bind(this,ct['downloadLink'])}>
                                    {ct["name"]}
                                </CellBody>
                          </Cell> 
                          )
                      } 
                      {/*  film 7*/}
                      <Cell onClick={this.showLink.bind(this,"27")}>
                          <CellBody className={'cellTitle'}  >
                          （英文）710系列红外反向散射传感器
                          </CellBody>
                          <CellFooter>
                            {
                                this.state.showlink_27? <img src='/images/jiantou_xia@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} /> : <img src='/images/jiantou@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} />
                            }
                        </CellFooter> 
                      </Cell>
                      {
                          !this.state.showlink_27? "" :
                          this.state.film_7.map(ct =>
                            <Cell>
                                <CellBody className={'cellLink'}  onClick={this.getPdf.bind(this,ct['downloadLink'])}>
                                    {ct["name"]}
                                </CellBody>
                          </Cell> 
                          )
                      } 
                      {/*  film 8*/}
                      <Cell onClick={this.showLink.bind(this,"28")}>
                          <CellBody className={'cellTitle'}  >
                          （英文）X射线传感器
                          </CellBody>
                          <CellFooter>
                            {
                                this.state.showlink_28? <img src='/images/jiantou_xia@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} /> : <img src='/images/jiantou@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} />
                            }
                        </CellFooter> 
                      </Cell>
                      {
                          !this.state.showlink_28? "" :
                          this.state.film_8.map(ct =>
                            <Cell>
                                <CellBody className={'cellLink'}  onClick={this.getPdf.bind(this,ct['downloadLink'])}>
                                    {ct["name"]}
                                </CellBody>
                          </Cell> 
                          )
                      } 
                      {/*  film o*/}
                      
                      {
                        this.state.film_o.map(ct =>
                            <Cell>
                                <CellBody className={'cellLink'}  onClick={this.getPdf.bind(this,ct['downloadLink'])}>
                                    {ct["name"]}
                                </CellBody>
                          </Cell> 
                          )
                      } 
                   

                            </Cells>
                            }
                </Cells>
                <Cells>
                    <Cell onClick={this.showLink.bind(this,"3")}>
                        <CellBody className={'cellTitle'}>
                        Food, Tobacco& Bulk
                        </CellBody>
                        <CellFooter>
                            {
                                this.state.showlink_3? <img src='/images/jiantou_xia@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} /> : <img src='/images/jiantou@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} />
                            }
                        </CellFooter>
                    </Cell>
                    {
                        !this.state.showlink_3? "" :
                        
                       <Cells>     
                      <Cell onClick={this.showLink.bind(this,"5")}>
                          <CellBody className={'cellTitle'}  >
                          （中文）710e和710s系列红外反向散射传感器
                          </CellBody>
                          <CellFooter>
                            {
                                this.state.showlink_5? <img src='/images/jiantou_xia@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} /> : <img src='/images/jiantou@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} />
                            }
                        </CellFooter> 
                      </Cell>
                      {
                          !this.state.showlink_5? "" :
                          this.state.food_1.map(ct =>
                          <Cell>
                              <CellBody className={'cellLink'}  onClick={this.getPdf.bind(this,ct['downloadLink'])}>
                                  {ct["name"]}
                              </CellBody>
                          </Cell>
                          )
                      }
                      <Cell onClick={this.showLink.bind(this,"6")}>
                          <CellBody className={'cellTitle'}  >
                          （中文）710系列红外反向散射传感器
                          </CellBody>
                          <CellFooter>
                            {
                                this.state.showlink_6? <img src='/images/jiantou_xia@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} /> : <img src='/images/jiantou@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} />
                            }
                        </CellFooter> 
                        </Cell>
                      {
                          !this.state.showlink_6? "" :
                          this.state.food_2.map(ct =>
                          <Cell>
                              <CellBody className={'cellLink'}  onClick={this.getPdf.bind(this,ct['downloadLink'])}>
                                  {ct["name"]}
                              </CellBody>
                          </Cell>
                          )
                      }
                      <Cell onClick={this.showLink.bind(this,"7")}>
                          <CellBody className={'cellTitle'}  >
                          （英文）710系列红外反向散射传感器
                          </CellBody>
                          <CellFooter>
                            {
                                this.state.showlink_7? <img src='/images/jiantou_xia@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} /> : <img src='/images/jiantou@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} />
                            }
                        </CellFooter> 
                        </Cell>
                      {
                          !this.state.showlink_7? "" :
                          this.state.food_3.map(ct =>
                          <Cell>
                              <CellBody className={'cellLink'}  onClick={this.getPdf.bind(this,ct['downloadLink'])}>
                                  {ct["name"]}
                              </CellBody>
                          </Cell>
                          )
                      }
                       </Cells>    

                    }
                    { !this.state.showlink_3? "" :
                        
                            this.state.food_o.map(ct =>
                      <Cell >
                          <CellBody className={'cellLink'}  onClick={this.getPdf.bind(this,ct['downloadLink'])}>
                              {ct["name"]}
                          </CellBody>
                      </Cell>
                            )
                        }
                </Cells>
                <Cells>
                    <Cell onClick={this.showLink.bind(this,"4")}>
                        <CellBody className={'cellTitle'}  >
                            Metals
                        </CellBody>
                        <CellFooter>
                            {
                                this.state.showlink_4? <img src='/images/jiantou_xia@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} /> : <img src='/images/jiantou@2x.png' style={{marginRight: '15px', width: '15px', height: '15px'}} />
                            }
                        </CellFooter>
                    </Cell>
                    { !this.state.showlink_4? "" :
                        this.state.metals.map(details =>
                      <Cell >
                          <CellBody className={'cellLink'}  onClick={this.getPdf.bind(this,details['downloadLink'])}>
                              {details["name"]}
                          </CellBody>
                      </Cell>
                    )}
                </Cells>
                <Dialog title={''} buttons={this.state.dialogBtn.buttons} show={this.state.showDialog}>
                    <div>
                        <input placeholder={'请填写密码'} style={{width: '100%', height: '30px', cursor: 'none'}} onChange={this.changePassword} value={this.state.password}/>
                        {/*<Input type="tel" placeholder="请填写密码" onChange={this.changePassword} value={this.state.password}/>*/}
                    </div>
                    <div style={{marginTop: '10px', color: 'red'}} className={this.state.displayHint? 'show-hint': 'hide-hint'}>密码不正确</div>
                </Dialog>
            </div>
        );
    }

}

export default withRouter(PDFList);
